using UnityEngine;

namespace GameDesigner
{
    public interface IStateLayer
    {
        IStateMachine StateMachine { get; set; }
        int LayerIndex { get; set; }
        AvatarMask AvatarMask { get; set; }
        /// <summary>
        /// 全身启用
        /// </summary>
        AvatarMask DefaultMask { get; }
        /// <summary>
        /// 全身禁用
        /// </summary>
        AvatarMask DisableMask { get; }

        void SetLayerMask(AvatarMask mask);
        void SetLayerWeight(float weight, bool isCrossFade = true);
    }
}